html,
body {
    height: 100%;
    background-color: aquamarine;
}

main {
    margin-left: -10px;
    width: 1312px;
    margin: 0 auto;
    overflow: hidden;
    vertical-align: middle;
}

main .card {
    float: left;
    margin-bottom: 10px;
    box-sizing: border-box;
    margin-left: 10px;
    width: 250px;
    /* background-color: wheat; */
    cursor: pointer;
}

main .card .carder {
    width: 250px;
    padding: 7px;
}

main .card .carder a {
    position: relative;
    display: block;
    box-sizing: border-box;
    background-color: rgb(135, 235, 143);
    width: 236px;
    margin: 0 auto;
}

main .card .carder a:hover {
    box-shadow: 3px 3px 10px 0 #000;
    top: 3px;
}

main .card .carder img {
    width: 236px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

main .card p {
    background-color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 15px;
}

main .card p:hover {
    text-decoration: underline red;
}